#pragma once
#include<dsound.h>
#include <strmif.h>
#include <control.h>
#include <uuids.h>

class FWDirectShow
{
private:
	IGraphBuilder* _graphBuilder;
	IMediaControl* _mediaControl;
	IMediaSeeking* _mediaSeeking;
	IMediaEventEx* _mediaEventEx;
	bool _isPlaying;
	bool _isReady;
public:
	FWDirectShow(void);
	~FWDirectShow(void);
	void initialize();
	void load(LPCTSTR fileName);
	void play();
	void pause();
	void resume();
	void stop();
};

